package com.aaa.dao;

import com.aaa.pojo.PayMoney;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.math.BigDecimal;
import java.util.List;

@Mapper
@Repository
public interface PayMoneyDao {
    //工资理财
    public List<PayMoney> selectPayMoney();
    PayMoney selectByPid(Integer pid);
    public Boolean addPayMoney(@Param("u_id")Integer u_id, @Param("pay_id") Integer pay_id,@Param("amount") Double amount);
    public void addRecordMoney(@Param("amount") Double amount, @Param("pro_type") String pro_type);
}
